//最近浏览
.course-box {
  padding: 0 40rpx;
  margin-top: 30rpx;
  .course {
    margin-bottom: 40rpx;
    box-shadow: 0 0 12rpx 0 rgba(0,0,0,0.1);
    border-radius: 16rpx;
    position: relative;
    padding: 60rpx 20rpx 40rpx 20rpx;

    .tag {
      position: absolute;
      right: 0;
      top: 0;
      border-radius: 0 16rpx 0 16rpx;
      color: #fff;
      display: inline-block;
      font-size: 24rpx;
      font-weight: normal;
      padding: 0 20rpx;
      line-height: 40rpx;
      &.primary {
        color: #14CC76;
        background:rgba(20,204,118,0.1);
      }
      &.junior {
        color: #FFBA00;
        background: rgba(255, 186, 0,0.1);
      }
      &.senior {
        color: #FE7141;
        background: rgba(254, 113, 65,0.1);
      }
    }

    .base-info {
      font-size: 28rpx;
      .curriculum-name {
        font-size: 32rpx;
        height: 106rpx;
        max-height: 80rpx;
        // margin-bottom: 20rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: #4a4a4a;
        font-weight: bold;
      }
      .school-name {
        font-size: 28rpx;
        margin-top: 16rpx;
        color: #14CC76;
        font-weight: 400;
      }
      .other {
        margin-top: 40rpx;
        font-size: 24rpx;
        color: #757575;
        justify-content: space-between;
        .teachers {
          align-content: flex-start;
          .teacher {
            text-align: center;
            .avatar {
              width: 48rpx;
              height: 48rpx;
              border-radius: 100%;
            }
            .name {
              color: #9B9B9B;
              display: inline-block;
              width: 110rpx;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              font-size: 24rpx;
            }
          }
        }
        .price {
          color: #ff3b30;
          font-size: 40rpx;
          text-align: right;
        }
        .limited {
          color: #FF1E32;
          font-size: 24rpx;
          margin-right: 12rpx;
        }
        .joined-num {
          color: #9B9B9B;
          font-size: 24rpx;
        }
      }
    }
  }
}

